package com.fanxuankai.boot.mqbroker.producer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fanxuankai.boot.mqbroker.Msg;

import java.util.Date;

/**
 * @author fanxuankai
 */
@TableName("mq_broker_msg_send")
public class MsgSend extends Msg {
    /**
     * 数据 key
     */
    private String dataKey;
    /**
     * 重试次数
     */
    private Integer retryCount;
    /**
     * 生效时间
     */
    private Date effectTime;

    public String getDataKey() {
        return dataKey;
    }

    public void setDataKey(String dataKey) {
        this.dataKey = dataKey;
    }

    public Integer getRetryCount() {
        return retryCount;
    }

    public void setRetryCount(Integer retryCount) {
        this.retryCount = retryCount;
    }

    public Date getEffectTime() {
        return effectTime;
    }

    public void setEffectTime(Date effectTime) {
        this.effectTime = effectTime;
    }
}
